package ucm;

import client.*;
/**
 * UCConnectClient
 *
 * Primary Actor: System
 * Goal: Connect Client to Server
 * Precondition: Current client is not connected to Server
 * Postcondition: Client is connected to Server
 *
 * @author Tobias Robinson
 */
public class UCConnectClient {

    public UCConnectClient() {
        this.run();
    }

    /**
     * 1. system spawns off a new thread to handle interaction with client
     */
    public void run() {
        new Thread(ClientThread.getInstance());
    }
}
